﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Fadada.OpenAPI.Attributes;

namespace Fadada.OpenAPI.RemoteModels.Organization
{
    /// <summary>
    /// 
    /// </summary>
    [RemoteService("/org/group/getAddEmployeeUrl", "POST")]
    public class GetAddEmployeeUrlRequest : BaseReqeust<GetAddEmployeeUrlResponse>
    {
        /// <summary>
        /// 公司unionId，公司可以是接入方的子公司。也可以是接入方公司
        /// </summary>
        public string company { get; set; }

        /// <summary>
        /// 员工
        /// </summary>
        public EmployeeInfo employeeInfo { get; set; }


        /// <summary>
        /// 回调地址
        /// </summary>
        public string redirectUrl { get; set; }

        public class EmployeeInfo
        {
            public string unionId { get; set; }
        }
    }
}